//////////////////////////////////////////////////
// STUDENT RESEARCH PROJECT						//
// UNIVERSITY OF HAGEN 2012						//
// File:	typedef.h							//
// Date:	12.08.2012							//
// Author:	Max Pejs							//
//////////////////////////////////////////////////

#ifndef _MACRO_H_
#define _MACRO_H_

#define TRACE_NL(var)		RS232Trace::GetInstance()->GetSerial()->println(var);
#define TRACE(var)			RS232Trace::GetInstance()->GetSerial()->print(var);
#define READ_STRING(var)	RS232Trace::GetInstance()->GetSerial()->readString();
#define PUSH_BIT(var)		DataContainer::GetInstance()->addBit(var);
#define POP_BIT(var)		DataContainer::GetInstance()->getBit();

#endif